package com.cdd.index.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.Link;
import com.common.untils.CommonResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzl
 * @since 2022-09-06
 */
public interface ILinkService extends IService<Link> {

    CommonResult selectAll(Integer currentPage, Integer pageSize, Link link);

    CommonResult findAll();

    CommonResult updateStatus(String linkId, Integer isDisable);

    CommonResult linkAdd(Link link);

    CommonResult updateLink(Link link);

    CommonResult deleteLink(String linkId);
}
